package com.university.mentalhealthplatform.global.log;

public class LogEntry {
    private String time;
    private String level;
    private String thread;
    private String logger;
    private String message;
    private String exception;

    // 构造函数、Getter 和 Setter 方法
    public LogEntry() {}

    public LogEntry(String time, String level, String thread, String logger, String message, String exception) {
        this.time = time;
        this.level = level;
        this.thread = thread;
        this.logger = logger;
        this.message = message;
        this.exception = exception;
    }

    // Getters 和 Setters
    public String getTime() { return time; }
    public void setTime(String time) { this.time = time; }
    public String getLevel() { return level; }
    public void setLevel(String level) { this.level = level; }
    public String getThread() { return thread; }
    public void setThread(String thread) { this.thread = thread; }
    public String getLogger() { return logger; }
    public void setLogger(String logger) { this.logger = logger; }
    public String getMessage() { return message; }
    public void setMessage(String message) { this.message = message; }
    public String getException() { return exception; }
    public void setException(String exception) { this.exception = exception; }
}
